﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="form_category.ascx.cs" Inherits="admin_module_form_category" %>
<%@ Register Assembly="BasicFrame.WebControls.BasicDatePicker" Namespace="BasicFrame.WebControls"
    TagPrefix="BDP" %>


<table width="772" border="0">
    <tr>
        <th height="58" valign="middle" bgcolor="#E5E5E5" scope="col">
            <h1 align="left">
                Quản trị danh mục</h1>
        </th>
        <!--// H1 Title -->
    </tr>
    <tr>
        <td bgcolor="#FFFFFF">
            <p class="bodytext_paragraph">
                Quản trị có thể thêm,sửa,xóa danh mục.<br />
                <br />
                Danh mục cha con có thể đều được thao tác tại mục này.
                <br />
            </p>
        </td>
    </tr>
</table>
<h2>
    <br />
    <br />
</h2>
<div style="position:relative;left:24px;bottom:20px;"><asp:ImageButton ID="OK" 
        ImageUrl="~/admin/images/icons/positive.png" runat="server" 
        onclick="OK_Click" /><asp:ImageButton ID="Cancle" 
        ImageUrl="~/admin/images/icons/negative.png" runat="server" 
        onclick="Cancle_Click" style="height: 18px" /></div>

<div id="tables">
    
    <!--// Tables starts -->
    <ul class="tabs">
        <asp:Repeater ID="listlang" runat="server">
            <ItemTemplate>
                <li><a href='#language<%#Eval("language_id") %>'><%#Eval("name") %></a></li>
            </ItemTemplate>
        </asp:Repeater>
        <li><a href="#Review">Dữ Liệu</a></li>
    </ul>
    <div class="tab_container">
    <asp:Repeater runat="server" ID="genaral">

        <ItemTemplate>  
            <div id='language<%#Eval("language_id") %>' class="tab_content" style="min-height:350px;"> 
                <asp:Label ID="language_id" Visible=false runat="server" Text='<%#Bind("language_id") %>'></asp:Label>   
                <div class="bodytext_fieldstitle" id="fieldmedium">Tên Bài Viết</div>
                <div id="small"> <asp:TextBox ID="name"  Height="25px" runat="server" Text='<%#Bind("name") %>' Width="400px"></asp:TextBox> </div>  
                
                <div class="bodytext_fieldstitle" id="fieldmedium">Mô Tả</div>
                <div id="small"><asp:TextBox ID="des" TextMode=MultiLine Height="115px" runat="server" Text='<%#Bind("meta_description") %>' Width="504px"></asp:TextBox> </div>
            </div> 
                    
        </ItemTemplate>
               
    </asp:Repeater>
        
        <div id="Review" class="tab_content">
           <div class="bodytext_fieldstitle" id="fieldmedium">Danh Mục Cha</div>
           <div id="small"> <asp:DropDownList ID="listcat" runat="server"></asp:DropDownList> </div>  
           <div class="bodytext_fieldstitle" id="fieldmedium">Ngày Viết</div>
           <div id="small"> 
               <BDP:BasicDatePicker ID="date_added" runat="server">
               </BDP:BasicDatePicker>
           </div>      
        </div>
        
    </div>
    <br />
    <hr />
</div>
<!--// Tables ends -->


<!--// content ends -->
